import request from '@/utils/request'

// 查询用药建议相同药物关联信息列表
export function listSuggestDrugConfig(query) {
  return request({
    url: '/suggest/config/listSuggestDrugConfig', method: 'get', params: query
  })
}

// 修改用药建议相同药物关联信息
export function updateSuggestDrugConfig(data) {
  return request({
    url: '/suggest/config/update', method: 'post', data: data
  })
}

// 添加用药建议相同药物关联信息
export function addDSuggestDrugConfig(data) {
  return request({
    url: '/suggest/config/add', method: 'post', data: data
  })
}
